package com.shop.mapper;

import com.shop.pojo.User;
import org.apache.ibatis.annotations.Select;


import java.util.List;

public interface UserMapper {

    @Select("select * from t_user")
    List<User> findAll();

    @Select("select * from t_user where email=#{value}")
    User findByEmail(String email);
}
